package com.fullee;

import act.data.annotation.Data;
import act.db.ebean2.EbeanDao;
import act.util.SimpleBean;

import javax.persistence.Id;
import java.util.List;

@Data
public class Location implements SimpleBean {

    @Id
    Integer id;

    String location;

    class Dao extends EbeanDao<Integer, Location> {

        @Override
        public List<Location> findAllAsList() {
            return super.findAllAsList();
        }

    }

}
